<template>
  <div id='demo1'>
    <h2 @click="$bus.$emit('aa','5456')">demo1</h2>
  </div>
</template>
<script>
export default {
  name: 'demo',
  components: {},
  props: ['parm'],
  data() {
    return {
      id: '',
    }
  },
  created() {},
  mounted() {
   
  },
  methods: {},
  destroyed() {
    this.$bus.$off('aa')
  },
}
</script>
<style scoped lang='less'>
#demo {
}
</style>
